class CreateEshopExplanationNotes < ActiveRecord::Migration
  def change
    create_table :eshop_explanation_notes, :force => true do |t|
      t.integer :explanation_id,   :limit => 11, :null => false
      t.string  :explanation_type, :limit => 20, :null => false
      t.text    :note,      :null => false
    end

    add_index :eshop_explanation_notes, :explanation_id
  end
end
